package top.lcpsky.flashcards.mapper;

import java.util.List;
import java.util.Map;

import top.lcpsky.flashcards.entity.Site;

public interface SiteMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Site record);

    int insertSelective(Site record);

    Site selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Site record);

    int updateByPrimaryKey(Site record);

	/**   
	 * @Title: findAll   
	 * @param: @return      
	 * @return: List<Site>      
	 * @throws   
	 */
	List<Site> findAll();

	/**   
	 * @Title: getTotalCount   
	 * @param: @param map
	 * @param: @return      
	 * @return: int      
	 * @throws   
	 */
	int getTotalCount(Map map);

	/**   
	 * @Title: getList   
	 * @param: @param map
	 * @param: @return      
	 * @return: List<Site>      
	 * @throws   
	 */
	List<Site> getList(Map map);
}